package com.googlecode.garbagecan.cxfstudy.filetransfer;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public interface FileTransferService {
	
	@WebMethod
	void uploadFile(FileTransferObject fto) throws FileTransferException;

	@WebMethod
	FileTransferObject downloadFile(FileTransferObject fto) throws FileTransferException;
	
	@WebMethod
	MyFile[] list(String dir) throws FileTransferException;
}
